package com.liangzong.betspider.command;

import com.liangzong.betspider.entity.TeamInfo;
import com.liangzong.betspider.enums.CommandEnum;
import lombok.Data;

@Data
public class AddTeamInfoCMD implements Command<TeamInfo>{
    private TeamInfo teamInfo;

    @Override
    public CommandEnum getType() {
        return CommandEnum.ADD;
    }

    @Override
    public TeamInfo getInfo() {
        return teamInfo;
    }
}
